/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const componentsRouter = {
  path: '/components',
  component: Layout,
  redirect: 'noRedirect',
  name: 'ComponentDemo',
  meta: {
    title: '任务综合',
    icon: 'component'
  },
  children: [
    {
      path: 'index',
      component: () => import('@/views/rwlist/index'),
      name: 'index',
      meta: {
        title: '文本任务', icon: 'el-icon-mobile'
      }
    },
    {
      path: 'tpindex',
      component: () => import('@/views/rwlist/tpindex'),
      name: 'tpindex',
      meta: { title: '图片任务', icon: 'el-icon-picture' }
    },
    {
      path: 'indexyy',
      component: () => import('@/views/rwlist/indexyy'),
      name: 'indexyy',
      meta: {
        title: '语音任务', icon: 'el-icon-headset'
      }
    },
    {
      path: 'indexkp',
      component: () => import('@/views/rwlist/indexkp'),
      name: 'indexkp',
      meta: { title: '卡片任务', icon: 'el-icon-picture-outline' }
    },
    {
      path: 'indexcjyh',
      component: () => import('@/views/rwlist/indexcjyh'),
      name: 'indexcjyh',
      meta: {
        title: '养号任务', icon: 'el-icon-s-unfold'
      }
    },
    {
      path: 'indexdt',
      component: () => import('@/views/rwlist/indexdt'),
      name: 'indexdt',
      meta: { title: '动态任务', icon: 'el-icon-s-fold' }
    },
    {
      path: 'indextx',
      component: () => import('@/views/rwlist/indextx'),
      name: 'indextx',
      meta: { title: '头像任务', icon: 'el-icon-camera-solid' }
    },
    {
      path: 'indexnc',
      component: () => import('@/views/rwlist/indexnc'),
      name: 'indexnc',
      meta: { title: '昵称任务', icon: 'el-icon-c-scale-to-original' }
    },
    {
      path: 'indexjq',
      component: () => import('@/views/rwlist/indexjq'),
      name: 'indexjq',
      meta: { title: '建群任务', icon: 'el-icon-document-copy' }
    },
    {
      path: 'indexsm',
      component: () => import('@/views/rwlist/indexsm'),
      name: 'indexsm',
      meta: { title: '扫码进群任务', icon: 'el-icon-folder-add' }
    }
    // {
    //   path: 'drag-dialog',
    //   component: () => import('@/views/components-demo/drag-dialog'),
    //   name: 'DragDialogDemo',
    //   meta: { title: 'Drag Dialog' }
    // },
    // {
    //   path: 'drag-select',
    //   component: () => import('@/views/components-demo/drag-select'),
    //   name: 'DragSelectDemo',
    //   meta: { title: 'Drag Select' }
    // },
    // {
    //   path: 'dnd-list',
    //   component: () => import('@/views/components-demo/dnd-list'),
    //   name: 'DndListDemo',
    //   meta: { title: 'Dnd List' }
    // },
    // {
    //   path: 'drag-kanban',
    //   component: () => import('@/views/components-demo/drag-kanban'),
    //   name: 'DragKanbanDemo',
    //   meta: { title: 'Drag Kanban' }
    // }
  ]
}

export default componentsRouter
